package cn.detu.ln.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("grade")
@Data
public class Grade {
    // 主键自增策略
    @TableId(value = "grade_id",type = IdType.AUTO)
    // id
    private Integer gradeId;
    private String gradeYear;
    private Integer gradeTerm;
    private Long stuNum;
    private Integer couId;
    private String couName;
    private String couNature;
    private Integer couCredit;
    private Float gradePoint;
    private Integer grade;
    private String couCollege;
    // 是否删除
    @TableLogic // 逻辑删除位
    private Integer isDelete;
}
